<template>
  <div>
    <Affix :offset-top="108">
      <view-header-general :title="title" :fontStyle="fontStyle"><slot name="header"></slot></view-header-general>
    </Affix>
    <view-content-general><slot></slot></view-content-general>
  </div>
</template>

<script>
import ViewHeaderGeneral from "./header/view-header-general";
import ViewContentGeneral from "./content/view-content-general";
export default {
  name: "starGenView",
  components: {ViewContentGeneral, ViewHeaderGeneral},
  props:{
    title:String,
    fontStyle:{
      default:()=>{
        return {}
      }
    }
  }
}
</script>

<style scoped>

</style>